from flask import render_template, flash, redirect, session, url_for, request, g
from yourapplication import app
import re

@app.route('/')
@app.route('/index')
@app.route('/index.html')
def index():
    return app.send_static_file('html/index.html')

# @app.route('/contents/20200602.html')
@app.route('/contents/<subpath>')
def pathConver(subpath):
    return app.send_static_file('html/contents/'+subpath)

# @app.route('/_static/alabaster.css')
@app.route('/_static/<subpath>')
def pathCssConver(subpath):
    return app.send_static_file('html/_static/'+subpath)